package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 
 * @author ml 
 * 2016-11-21
 *
 */
@Entity
@Table(name="TBL_MCHT_INF")
public class TblMchtInf implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="MCHT_CD")
	private String id;//MCHT_CD
	
	@Column(name="SN")
	private String sn;//SN
	
	@Column(name="AIP_BRAN_CD")
	private String aipBranCd = "99990000";//	AIP_BRAN_CD
	
	@Column(name="GROUP_CD")
	private String groupCD;//GROUP_CD   商户   直联1、间联 0、间联直营2
	
	@Column(name="ORI_CHNL")
	private String oriChnl = "1";//ORI_CHNL
	
	@Column(name="ORI_CHNL_DESC")
	private String oriChnlDesc;//ORI_CHNL_DESC
	
	@Column(name="BANK_BELONG_CD")
	private String bankBelongCd = "48500000";//	BANK_BELONG_CD
	
	@Column(name="DVP_BY")
	private String dvpBy;//	DVP_BY   是否法人结算账户，若为否则需要非法人身份证号   1 是 0 否
	
	@Column(name="MCC_CD_18")
	private String mcc;//	MCC_CD_18
	
	@Column(name="APPL_DATE")
	private String applDate;//APPL_DATE
	
	@Column(name="UP_BC_CD")
	private String upBccd = "850";//UP_BC_CD
	
	@Column(name="UP_AC_CD")
	private String upAccd;//UP_AC_CD
	
	@Column(name="UP_MCC_CD")
	private String upMccCd;//UP_MCC_CD
	
	@Column(name="NAME")
	private String name;//NAME
	
	@Column(name="NAME_BUSI")
	private String nameBusi;//NAME_BUSI
	
	@Column(name="BUSI_LICE_NO")
	private String busiLiceNo;//BUSI_LICE_NO
	
	@Column(name="BUSI_RANG")
	private String busiRang;//BUSI_RANG
	
	@Column(name="BUSI_MAIN")
	private String busiMain;//BUSI_MAIN
	
	@Column(name="CERTIF")
	private String certif;//CERTIF
	
	@Column(name="CERTIF_TYPE")
	private String certifType;//CERTIF_TYPE
	
	@Column(name="CERTIF_NO")
	private String certifNo;//CERTIF_NO
	
	@Column(name="NATION_CD")
	private String nationCd;//	NATION_CD   商户类型：对公1	对私0
	
	@Column(name="PROV_CD")
	private String provCd;//PROV_CD
	
	@Column(name="CITY_CD")
	private String cityCd;//CITY_CD
	
	@Column(name="AREA_CD")
	private String areaCd;//AREA_CD
	
	@Column(name="REG_ADDR")
	private String regAddr;//REG_ADDR
	
	@Column(name="CONTACT_NAME")
	private String contactName;//CONTACT_NAME
	
	@Column(name="CONTACT_PHONENO")
	private String contactPhoneNo;//CONTACT_PHONENO
	
	@Column(name="ISGROUP")
	private String isGroup;//ISGROUP	商户等级A/B/C/D/E/F
	
	@Column(name="MONEYTOGROUP")
	private String moneyToGroup = "0";//MONEYTOGROUP
	
	@Column(name="STLM_WAY")
	private String stlmWay = "1";//STLM_WAY
	
	@Column(name="STLM_WAY_DESC")
	private String stlmWayDesc;//STLM_WAY_DESC    非法人的身份证号
	
	@Column(name="STLM_INS_CIRCLE")
	private String stlmInsCircle = "0";//STLM_INS_CIRCLE
	
	@Column(name="APPR_DATE")
	private Date apprDate;//APPR_DATE
	
	@Column(name="STATUS")
	private String status = "01";//STATUS
	
	@Column(name="DELETE_DATE")
	private Date deleteDate;//DELETE_DATE
	
	@Column(name="UC_BC_CD_32")
	private String ucBccd;//UC_BC_CD_32
	
	@Column(name="K2WORKFLOWID")
	private String k2WorkFlowId;//K2WORKFLOWID
	
	@Column(name="SYSTEMFLAG")
	private String systemFlag;//SYSTEMFLAG
	
	@Column(name="approvalUserName")
	private String approvalUserName;//	APPROVALUSERNAME  账户属性  0 私人账户   1 企业账户
	
	@Column(name="FINALARRPOVALUSERNAME")
	private String finalApprovalUserName;//FINALARRPOVALUSERNAME
	
	@Column(name="IS_UP_STANDARD")
	private String isUpStandard = "0";//IS_UP_STANDARD
	
	@Column(name="BILLINGTYPE")
	private String billingType = "00";//	BILLINGTYPE
	
	@Column(name="BILLINGLEVEL")
	private String billingLevel = "000";//BILLINGLEVEL
	
	@Column(name="SLOGAN")
	private String slogan;//SLOGAN
	
	@Column(name="EXT1")
	private String ext1;//	EXT1
	
	@Column(name="EXT2")
	private String ext2;//EXT2
	
	@Column(name="EXT3")
	private String ext3;//EXT3
	
	@Column(name="EXT4")
	private String ext4;//EXT4
	
	@Column(name="AREA_STANDARD")
	private String areaStandard;//AREA_STANDARD  商户地区编码标准,0:国标,1:银联
	
	@Column(name="MCHTCD_AREA_CD")
	private String mchcdAreadCd;//MCHTCD_AREA_CD  商户号地区码
	
	@Column(name="UC_BC_CD_AREA")
	private String ucBccdArea;//UC_BC_CD_AREA  收单机构32域详细地址
	
	@Column(name="REC_OPR_ID")
	private String recOprId;//REC_OPR_ID  操作类型
	
	@Column(name="REC_UPD_OPR")
	private String recUpdOpr;//REC_UPD_OPR  操作员
	
	@Column(name="REC_CRT_TS")
	private Date recCrtTs = new Date();//REC_CRT_TS  审批通过时间
	
	@Column(name="REC_UPD_TS")
	private Date recUpdTs ;//REC_UPD_TS  更新时间
	
	@Column(name="OPER_IN")
	private String operIn;//OPER_IN  I:insert;U:update;D:delete
	
	@Column(name="REC_APLLY_TS")
	private Date recAppliTs;//REC_APLLY_TS  生成时间
	
	@Column(name="OEM_ORG_CODE")
	private String oemOrgCode;//OEM_ORG_CODE  品牌机构号
	

	@Transient
	private String  bus_lic;//审核人员名称
	
	@Transient
	private List<TblTermInf> terminfoList; //终端
	
	@Transient
	private TblTermRiskCfg terminfoRisk;//终端风控
	
	@Transient
	private List<TblMchtBizFee>  fee; //手续费
	
	 
	@Transient
	private String[] productCode;//开通产品信息 
	@Transient
	private String[] productStrs;//开通产品信息数组 
 
	@Transient
	private List<TblMchtBizDeal> bizDelList;//开通产品信息集合
	
	@Transient
	private TblMchtBankAccount bankAccount;//结算账户信息
	
	@Transient
	private List<TblMchtPicture> pictrueList;//照片信息

	@Transient
	private String[]  merCycle;//结算周期
	
	@Transient
	private List<MerinfoStatusChange> statusChange;//冻结详情

	@Transient
	private String directlyAgent ;// 直属代理商名称
	
	@Transient
	private String companyName;// 所属大区[分公司] 名称
	@Transient
	private String oneagentName;// 所属一级代理商 名称
	
	@Transient
	private TblMchtExtendInfo mExtendInfo; //商户扩展临时表
	
	@Transient
	private String mchtExtId;// 直属代理商id
	
	@Transient
	private String wxSubId;// 微信子商户号
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getAipBranCd() {
		return aipBranCd;
	}

	public void setAipBranCd(String aipBranCd) {
		this.aipBranCd = aipBranCd;
	}

	public String getGroupCD() {
		return groupCD;
	}

	public void setGroupCD(String groupCD) {
		this.groupCD = groupCD;
	}

	public String getOriChnl() {
		return oriChnl;
	}

	public void setOriChnl(String oriChnl) {
		this.oriChnl = oriChnl;
	}

	public String getOriChnlDesc() {
		return oriChnlDesc;
	}

	public void setOriChnlDesc(String oriChnlDesc) {
		this.oriChnlDesc = oriChnlDesc;
	}

	public String getBankBelongCd() {
		return bankBelongCd;
	}

	public void setBankBelongCd(String bankBelongCd) {
		this.bankBelongCd = bankBelongCd;
	}

	public String getDvpBy() {
		return dvpBy;
	}

	public void setDvpBy(String dvpBy) {
		this.dvpBy = dvpBy;
	}

	

	public String getMcc() {
		return mcc;
	}

	public void setMcc(String mcc) {
		this.mcc = mcc;
	}

	public String getApplDate() {
		return applDate;
	}

	public void setApplDate(String applDate) {
		this.applDate = applDate;
	}

	public String getUpBccd() {
		return upBccd;
	}

	public void setUpBccd(String upBccd) {
		this.upBccd = upBccd;
	}

	public String getUpAccd() {
		return upAccd;
	}

	public void setUpAccd(String upAccd) {
		this.upAccd = upAccd;
	}

	public String getUpMccCd() {
		return upMccCd;
	}

	public void setUpMccCd(String upMccCd) {
		this.upMccCd = upMccCd;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameBusi() {
		return nameBusi;
	}

	public void setNameBusi(String nameBusi) {
		this.nameBusi = nameBusi;
	}

	public String getBusiLiceNo() {
		return busiLiceNo;
	}

	public void setBusiLiceNo(String busiLiceNo) {
		this.busiLiceNo = busiLiceNo;
	}

	public String getBusiRang() {
		return busiRang;
	}

	public void setBusiRang(String busiRang) {
		this.busiRang = busiRang;
	}

	public String getBusiMain() {
		return busiMain;
	}

	public void setBusiMain(String busiMain) {
		this.busiMain = busiMain;
	}

	public String getCertif() {
		return certif;
	}

	public void setCertif(String certif) {
		this.certif = certif;
	}

	public String getCertifType() {
		return certifType;
	}

	public void setCertifType(String certifType) {
		this.certifType = certifType;
	}

	public String getCertifNo() {
		return certifNo;
	}

	public void setCertifNo(String certifNo) {
		this.certifNo = certifNo;
	}

	public String getNationCd() {
		return nationCd;
	}

	public void setNationCd(String nationCd) {
		this.nationCd = nationCd;
	}

	public String getProvCd() {
		return provCd;
	}

	public void setProvCd(String provCd) {
		this.provCd = provCd;
	}

	public String getCityCd() {
		return cityCd;
	}

	public void setCityCd(String cityCd) {
		this.cityCd = cityCd;
	}

	public String getAreaCd() {
		return areaCd;
	}

	public void setAreaCd(String areaCd) {
		this.areaCd = areaCd;
	}

	public String getRegAddr() {
		return regAddr;
	}

	public void setRegAddr(String regAddr) {
		this.regAddr = regAddr;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getContactPhoneNo() {
		return contactPhoneNo;
	}

	public void setContactPhoneNo(String contactPhoneNo) {
		this.contactPhoneNo = contactPhoneNo;
	}

	public String getIsGroup() {
		return isGroup;
	}

	public void setIsGroup(String isGroup) {
		this.isGroup = isGroup;
	}

	public String getMoneyToGroup() {
		return moneyToGroup;
	}

	public void setMoneyToGroup(String moneyToGroup) {
		this.moneyToGroup = moneyToGroup;
	}

	public String getStlmWay() {
		return stlmWay;
	}

	public void setStlmWay(String stlmWay) {
		this.stlmWay = stlmWay;
	}

	public String getStlmWayDesc() {
		return stlmWayDesc;
	}

	public void setStlmWayDesc(String stlmWayDesc) {
		this.stlmWayDesc = stlmWayDesc;
	}

	public String getStlmInsCircle() {
		return stlmInsCircle;
	}

	public void setStlmInsCircle(String stlmInsCircle) {
		this.stlmInsCircle = stlmInsCircle;
	}

	

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	

	public String getUcBccd() {
		return ucBccd;
	}

	public void setUcBccd(String ucBccd) {
		this.ucBccd = ucBccd;
	}

	public String getK2WorkFlowId() {
		return k2WorkFlowId;
	}

	public void setK2WorkFlowId(String k2WorkFlowId) {
		this.k2WorkFlowId = k2WorkFlowId;
	}

	public String getSystemFlag() {
		return systemFlag;
	}

	public void setSystemFlag(String systemFlag) {
		this.systemFlag = systemFlag;
	}

	public String getApprovalUserName() {
		return approvalUserName;
	}

	public void setApprovalUserName(String approvalUserName) {
		this.approvalUserName = approvalUserName;
	}

	public String getFinalApprovalUserName() {
		return finalApprovalUserName;
	}

	public void setFinalApprovalUserName(String finalApprovalUserName) {
		this.finalApprovalUserName = finalApprovalUserName;
	}

	public String getIsUpStandard() {
		return isUpStandard;
	}

	public void setIsUpStandard(String isUpStandard) {
		this.isUpStandard = isUpStandard;
	}

	public String getBillingType() {
		return billingType;
	}

	public void setBillingType(String billingType) {
		this.billingType = billingType;
	}

	public String getBillingLevel() {
		return billingLevel;
	}

	public void setBillingLevel(String billingLevel) {
		this.billingLevel = billingLevel;
	}

	public String getSlogan() {
		return slogan;
	}

	public void setSlogan(String slogan) {
		this.slogan = slogan;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getExt3() {
		return ext3;
	}

	public void setExt3(String ext3) {
		this.ext3 = ext3;
	}

	public String getExt4() {
		return ext4;
	}

	public void setExt4(String ext4) {
		this.ext4 = ext4;
	}

	public String getAreaStandard() {
		return areaStandard;
	}

	public void setAreaStandard(String areaStandard) {
		this.areaStandard = areaStandard;
	}

	public String getMchcdAreadCd() {
		return mchcdAreadCd;
	}

	public void setMchcdAreadCd(String mchcdAreadCd) {
		this.mchcdAreadCd = mchcdAreadCd;
	}

	public String getUcBccdArea() {
		return ucBccdArea;
	}

	public void setUcBccdArea(String ucBccdArea) {
		this.ucBccdArea = ucBccdArea;
	}

	public String getRecOprId() {
		return recOprId;
	}

	public void setRecOprId(String recOprId) {
		this.recOprId = recOprId;
	}

	public String getRecUpdOpr() {
		return recUpdOpr;
	}

	public void setRecUpdOpr(String recUpdOpr) {
		this.recUpdOpr = recUpdOpr;
	}

	

	

	public String getOperIn() {
		return operIn;
	}

	public void setOperIn(String operIn) {
		this.operIn = operIn;
	}

	

	public String getOemOrgCode() {
		return oemOrgCode;
	}

	public void setOemOrgCode(String oemOrgCode) {
		this.oemOrgCode = oemOrgCode;
	}

	public Date getApprDate() {
		return apprDate;
	}

	public void setApprDate(Date apprDate) {
		this.apprDate = apprDate;
	}

	public Date getDeleteDate() {
		return deleteDate;
	}

	public void setDeleteDate(Date deleteDate) {
		this.deleteDate = deleteDate;
	}

	public Date getRecCrtTs() {
		return recCrtTs;
	}

	public void setRecCrtTs(Date recCrtTs) {
		this.recCrtTs = recCrtTs;
	}

	public Date getRecUpdTs() {
		return recUpdTs;
	}

	public void setRecUpdTs(Date recUpdTs) {
		this.recUpdTs = recUpdTs;
	}

	public Date getRecAppliTs() {
		return recAppliTs;
	}

	public void setRecAppliTs(Date recAppliTs) {
		this.recAppliTs = recAppliTs;
	}

	public List<TblTermInf> getTerminfoList() {
		return terminfoList;
	}

	public void setTerminfoList(List<TblTermInf> terminfoList) {
		this.terminfoList = terminfoList;
	}

	public TblTermRiskCfg getTerminfoRisk() {
		return terminfoRisk;
	}

	public void setTerminfoRisk(TblTermRiskCfg terminfoRisk) {
		this.terminfoRisk = terminfoRisk;
	}

	public List<TblMchtBizFee> getFee() {
		return fee;
	}

	public void setFee(List<TblMchtBizFee> fee) {
		this.fee = fee;
	}

	 

	public List<TblMchtBizDeal> getBizDelList() {
		return bizDelList;
	}

	public void setBizDelList(List<TblMchtBizDeal> bizDelList) {
		this.bizDelList = bizDelList;
	}

	public TblMchtBankAccount getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(TblMchtBankAccount bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String[] getProductStrs() {
		return productStrs;
	}

	public void setProductStrs(String[] productStrs) {
		this.productStrs = productStrs;
	}

	public List<TblMchtPicture> getPictrueList() {
		return pictrueList;
	}

	public void setPictrueList(List<TblMchtPicture> pictrueList) {
		this.pictrueList = pictrueList;
	}

	public String[] getProductCode() {
		return productCode;
	}

	public void setProductCode(String[] productCode) {
		this.productCode = productCode;
	}

	public String getBus_lic() {
		return bus_lic;
	}

	public void setBus_lic(String bus_lic) {
		this.bus_lic = bus_lic;
	}

	public String[] getMerCycle() {
		return merCycle;
	}

	public void setMerCycle(String[] merCycle) {
		this.merCycle = merCycle;
	}

	 

	public String getDirectlyAgent() {
		return directlyAgent;
	}

	public void setDirectlyAgent(String directlyAgent) {
		this.directlyAgent = directlyAgent;
	}

	public List<MerinfoStatusChange> getStatusChange() {
		return statusChange;
	}

	public void setStatusChange(List<MerinfoStatusChange> statusChange) {
		this.statusChange = statusChange;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getOneagentName() {
		return oneagentName;
	}

	public void setOneagentName(String oneagentName) {
		this.oneagentName = oneagentName;
	}

	public TblMchtExtendInfo getmExtendInfo() {
		return mExtendInfo;
	}

	public void setmExtendInfo(TblMchtExtendInfo mExtendInfo) {
		this.mExtendInfo = mExtendInfo;
	}

	public String getMchtExtId() {
		return mchtExtId;
	}

	public void setMchtExtId(String mchtExtId) {
		this.mchtExtId = mchtExtId;
	}

	public String getWxSubId() {
		return wxSubId;
	}

	public void setWxSubId(String wxSubId) {
		this.wxSubId = wxSubId;
	}

}